package com.ruoyi.system.mapper;

import com.ruoyi.system.domain.po.TopTopic;
import com.ruoyi.system.domain.po.TopTopicExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface TopTopicMapper {
    long countByExample(TopTopicExample example);

    int deleteByExample(TopTopicExample example);

    int deleteByPrimaryKey(Long id);

    int insert(TopTopic record);

    int insertSelective(TopTopic record);

    List<TopTopic> selectByExample(TopTopicExample example);

    TopTopic selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") TopTopic record, @Param("example") TopTopicExample example);

    int updateByExample(@Param("record") TopTopic record, @Param("example") TopTopicExample example);

    int updateByPrimaryKeySelective(TopTopic record);

    int updateByPrimaryKey(TopTopic record);
}